<%@ include file="/public/include.jsp" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
	<base target="_self">
	<title>查看图片</title>
	<META HTTP-EQUIV="pragma" CONTENT="no-cache">
	<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
	<link rel="stylesheet" type="text/css" href="styles/default.css" >
	<script type="text/javascript" src="scripts/pub/common.js"></script>
	<script type="text/javascript" src="scripts/pub/upload.js"></script>
</head>
<body>
	<table border="0" cellspacing="0" cellpadding="0" width="100%" align="center">
		<caption>
			  查看图片
		</caption>
		<tr align="center" >
			<td><div style="background-color:#FFFFFF;border-width:0px;border-style:solid;height:330px;width:780px;overflow:auto">
				<table width="100%" border="0" cellspacing="8" cellpadding="0">
					<tr>
						<c:forEach items="${map.files}" var="file">
							<td align="center" id="tr${file.id}">
								<div>
									<a href="direct/upload/${file.fileName}"  target="_blank" title="单击打开原图!">
										<img src="direct/preview/${file.previewImgName}" />
									</a>
								</div>
								<div align="center">
									备注：${file.remark}
								</div>
								</td>
							</c:forEach>
						</tr>
					</table>
  				</div></td>
			</tr>
		<tr align="center" style="height:30px;vertical-align:bottom;">
			<td>
				<input type="hidden" value="${map.count}" id="fileCount">
				<input type="hidden" id="deleteFiles" name="deleteFiles" value="" />
				<input type="button" value="关闭" class="button" id="closeWin" onClick="uploadFile_closeWin();" />
			</td>
		</tr>
	</table>
</body>
</html>
